import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home-view',
    component: () => import('../views/home-view.vue')
  },
  {
    path: '/judgment-wisdom',
    name: 'judgment-wisdom',
    component: () => import('../views/judgment-wisdom/index.vue')
  },
  {
    path: '/smart-policing',
    name: 'smart-policing',
    component: () => import('../views/smart-policing/index.vue')
  },
]

const router = new VueRouter({
  routes
})

export default router
